%*******************************************************************************
%	
%	Copyright (c) 2009 Philip Wenig
%
%	Unless otherwise specified, this work is licensed under a 
%	Creative Commons Attribution-Share Alike 3.0 License.
%
%	http://creativecommons.org/licenses/by-sa/3.0/
%
%	Contributors:
%		Philip Wenig
%
%*******************************************************************************

%---------------------------------------------------------------
%
%	SPECIAL
%
%---------------------------------------------------------------
\chapter{Special}
	\label{sec:Special}
		%
		%	INDICES
		%
		\index{xxx}
		\index{xxx!yyy}		
		%
		%	CONTENT
		%
		This is the special part.


%---------------------------------------------------------------
%	FORMULA
%---------------------------------------------------------------
	\section{Formula}
		\label{sec:Formula}
			%
			%	INDICES
			%
			\index{xxx}
			\index{xxx!yyy}		
			%
			%	CONTENT
			%
			Formulas: \(\beta = \Theta * \tau\)

			\VERTICALSPACE
							
				\begin{equation}
					\beta = \Theta * \tau
					\label{eq:FirstEquation}
				\end{equation}

			\VERTICALSPACE
					
			Formulas can also contain an mbox element.

			Formulas: \[ \beta = \Theta ~\mbox{and some text} * \tau \]
		
			\VERTICALSPACE

				\begin{equation}
					\beta = \Theta ~\mbox{and some text} * \tau
					\label{eq:SecondEquation}
				\end{equation}

%---------------------------------------------------------------
%	FORMULA
%---------------------------------------------------------------
	\section{Chemical Formula}
		\label{sec:ChemicalFormula}
			%
			%	INDICES
			%
			\index{xxx}
			\index{xxx!yyy}		
			%
			%	CONTENT
			%
			$\ce{H2O}$ can be written and $\ce{Ce^{IV}}$

%---------------------------------------------------------------
%	TABLES
%---------------------------------------------------------------
	\section{Tabels}
		 \label{sec:Tables}
			%
			%	INDICES
			%
			\index{xxx}
			\index{xxx!general}		
			%
			%	CONTENT
			%
			How to use tables.

				\begin{table}[htbp]
					\centering
					%
					%	CAPTION AND LABEL
					%
					\caption[table1 short]{table1 long}
					\label{tab:table1}
					\VERTICALSPACE
					%
					%	EXTRA ROW HEIGHT
					%
					\setlength\extrarowheight{4pt}
					%
					%	CONTENT
					%	
					\begin{tabular}{cccc}
						1 & 2  & 3 & 4 \\ 
						5 & 6 & 7 & 8 \\ 
					\end{tabular}
				\end{table}


%---------------------------------------------------------------
%	TABULARX
%---------------------------------------------------------------
		\subsection{Tabularx}
		 	\label{sec:Tabularx}
				%
				%	INDICES
				%
				\index{xxx}
				\index{xxx!general}		
				%
				%	CONTENT
				%
				How to use tables.

					\begin{table}[hbt]	
						\centering
						%
						%	CAPTION AND LABEL
						%
						\caption[Tabular X]{Full description of tabular x.}
						\label{tab:TabularX}
						\VERTICALSPACE	
						%
						%	EXTRA ROW HEIGHT
						%
						\setlength\extrarowheight{4pt}
						%
						%	CONTENT
						%				
						\begin{tabularx}{\linewidth}{XXX}
							Hello & World & ! \\				
						\end{tabularx}
					
					\end{table}

%---------------------------------------------------------------
%	TABULARY
%---------------------------------------------------------------
		\subsection{Tabulary}
		 	\label{sec:Tabulary}
				%
				%	INDICES
				%
				\index{xxx}
				\index{xxx!general}		
				%
				%	CONTENT
				%
				How to use tables.

					\begin{table}[hbt]
						\centering
						%
						%	CAPTION AND LABEL
						%
						\caption[Tabular Y]{Full description of tabular y.}
						\label{tab:TabularY}
						\VERTICALSPACE
						%
						%	COLUMN MIN AND MAX WIDTH AND EXTRA ROW HEIGHT
						%
						\setlength\tymin{10pt}
						\setlength\tymax{0.7\linewidth}
						\setlength\extrarowheight{4pt}
						%
						%	CONTENT
						%
						\begin{tabulary}{\linewidth}{c!{\extracolsep{\fill}}cc}
							1 & 2 & 3 \\
						\end{tabulary}
					\end{table}


%---------------------------------------------------------------
%	TABULARY MULTIROW MULTICOLUMN
%---------------------------------------------------------------
		\subsection{Tabulary Multirow Multicolumn}
		 	\label{sec:TabularyMulti}
				%
				%	INDICES
				%
				\index{xxx}
				\index{xxx!general}		
				%
				%	CONTENT
				%
				How to use tables.

					\begin{table}[hbt]
						\centering
						%
						%	CAPTION AND LABEL
						%
						\caption[Tabular Y Multi]{Full description of tabular y multi.}
						\label{tab:TabularYMulti}
						\VERTICALSPACE
						%
						%	COLUMN MIN AND MAX WIDTH AND EXTRA ROW HEIGHT
						%
						\setlength\tymin{10pt}
						\setlength\tymax{0.7\linewidth}
						\setlength\extrarowheight{4pt}
						%
						%	CONTENT
						%
						\begin{tabulary}{\linewidth}{c!{\extracolsep{\fill}}cccc}
							1 & 2 & 3 & 4 & 5 \\
							\multicolumn{2}{c}{6 + 7} & 8 & 9 & 10 \\
							\multirow{2}{3mm}{11 + 16} & 12 & 13 & 14 & 15 \\
							& 17 & 18 & 19 & 20 \\
						\end{tabulary}
					\end{table}


%---------------------------------------------------------------
%	SUPERTABULAR (DOESN'T WORK WITH tex4ht!!)
%---------------------------------------------------------------
%		\subsection{Supertabular}
%		 	\label{sec:Supertabular}
%				%
%				%	INDICES
%				%
%				\index{xxx}
%				\index{xxx!general}		
%				%
%				%	CONTENT
%				%
%				How to use tables.
%
%					%
%					%	SUPERTABULAR CAPTION AND LABEL
%					%
%					\captionof{table}[Supertabular]{Description of supertabular}
%					\label{tab:Supertabular}
%					\VERTICALSPACE
%					%
%					%	TABLE HEAD AND TAIL
%					%
%					\tablefirsthead{%
%						1 - First &% 
%						1 - Second &%
%						1 - Third \\%
%					}
%
%					\tablehead{%
%						n - First &% 
%						n - Second &%
%						n - Third \\%
%					}
%
%					\tabletail{\multicolumn{3}{r}{\emph{... proceed on next page}} \\}%
%					\tablelasttail{ \\}%
%					%
%					%	CONTENT
%					%
%					\begin{supertabular}{%
%						>{\raggedright\hspace{0pt}\arraybackslash}p{122pt}% 
%						>{\raggedleft\hspace{0pt}\arraybackslash}p{100pt}%
%						>{\centering\hspace{0pt}\arraybackslash}p{150pt}%
%					}
%						
%						1 & 2 & 3 \\
%						2 & 3 & 4 \\
%						3 & 4 & 5 \\
%						4 & 5 & 6 \\
%						5 & 6 & 7 \\
%						6 & 7 & 8 \\
%						7 & 8 & 9 \\
%						8 & 9 & 10 \\
%						9 & 10 & 11 \\
%						10 & 11 & 12 \\
%						11 & 12 & 13 \\
%						12 & 13 & 14 \\
%						13 & 14 & 15 \\
%						14 & 15 & 16 \\
%						15 & 16 & 17 \\
%						16 & 17 & 18 \\
%						17 & 18 & 19 \\
%						18 & 19 & 20 \\
%						19 & 20 & 21 \\
%						20 & 21 & 22 \\
%						21 & 22 & 23 \\
%						22 & 23 & 24 \\
%						23 & 24 & 25 \\
%						24 & 25 & 26 \\
%						25 & 26 & 27 \\
%						26 & 27 & 28 \\
%						27 & 28 & 29 \\
%						28 & 29 & 30 \\
%						29 & 30 & 31 \\
%						30 & 31 & 32 \\
%						31 & 32 & 33 \\
%						32 & 33 & 34 \\
%						33 & 34 & 35 \\
%						34 & 35 & 36 \\
%						35 & 36 & 37 \\
%						36 & 37 & 38 \\
%						37 & 38 & 39 \\
%						38 & 39 & 40 \\
%						39 & 40 & 41 \\
%						40 & 41 & 42 \\
%						41 & 42 & 43 \\
%						42 & 43 & 44 \\
%						43 & 44 & 45 \\
%						44 & 45 & 46 \\
%						45 & 46 & 47 \\
%						46 & 47 & 48 \\
%						47 & 48 & 49 \\
%						48 & 49 & 50 \\
%						49 & 50 & 51 \\
%						50 & 51 & 52 \\
%						51 & 52 & 53 \\
%						52 & 53 & 54 \\
%						53 & 54 & 55 \\
%						54 & 55 & 56 \\
%						55 & 56 & 57 \\
%						56 & 57 & 58 \\
%						57 & 58 & 59 \\
%						58 & 59 & 60 \\
%						59 & 60 & 61 \\
%						60 & 61 & 62 \\
%						61 & 62 & 63 \\
%						62 & 63 & 64 \\
%						63 & 64 & 65 \\
%						64 & 65 & 66 \\
%						65 & 66 & 67 \\
%						66 & 67 & 68 \\
%						67 & 68 & 69 \\
%						68 & 69 & 70 \\
%						69 & 70 & 71 \\
%						70 & 71 & 72 \\
%						71 & 72 & 73 \\
%						72 & 73 & 74 \\
%						73 & 74 & 75 \\
%					\end{supertabular}